﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_CgRelations.cs
// 创建时间：2016/12/11
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///客户商品对照(ERP_CgRelations)数据实体
	/// </summary>
	[Serializable]
	public class ERP_CgRelations
	{
		#region 变量定义
		
		///<summary>
		///对照ID
		///</summary>
		private int _relationid;
		
		///<summary>
		///商品ID
		///</summary>
		private int _cargoId;
		
		///<summary>
		///客户目录ID
		///</summary>
		private int _cusCargoId;
		
		///<summary>
		///
		///</summary>
		private int _state;
		
		///<summary>
		///
		///</summary>
		private int _customerId;
		
		///<summary>
		///
		///</summary>
		private int _owerDetailId;
		
		///<summary>
		///
		///</summary>
		private int _cusDetailId;
		#endregion
		
		#region 构造函数

		///<summary>
		///客户商品对照的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_CgRelations()
		{
 
		}
		///<summary>
		///客户商品对照
		///</summary>
		public ERP_CgRelations
		(
			int relationid,
			int cargoId,
			int cusCargoId,
			int state,
			int customerId,
			int owerDetailId,
			int cusDetailId
		)
		{
			_relationid   = relationid;
			_cargoId      = cargoId;
			_cusCargoId   = cusCargoId;
			_state        = state;
			_customerId   = customerId;
			_owerDetailId = owerDetailId;
			_cusDetailId  = cusDetailId;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///对照ID
		///</summary>
		public int Relationid
		{
			get {return _relationid;}
			set {_relationid = value;}
		}

		
		///<summary>
		///商品ID
		///</summary>
		public int CargoId
		{
			get {return _cargoId;}
			set {_cargoId = value;}
		}

		
		///<summary>
		///客户目录ID
		///</summary>
		public int CusCargoId
		{
			get {return _cusCargoId;}
			set {_cusCargoId = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int state
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int CustomerId
		{
			get {return _customerId;}
			set {_customerId = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int OwerDetailId
		{
			get {return _owerDetailId;}
			set {_owerDetailId = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int CusDetailId
		{
			get {return _cusDetailId;}
			set {_cusDetailId = value;}
		}
	
		#endregion
		
	}
}